import React from 'react'
import { Outlet } from 'react-router-dom';
import { Layout } from 'antd';
import Header from './components/Header'
import Asider from './components/Aside'
import Bread from './components/Bread'
// import { connect } from 'react-redux';

 function app() {
  //  const [mykey,setMykey] = useState(1)
  return (
    <Layout id='app'>
        <Header />
      <div className='container'>
        <Asider />
          <div className='container_box'>
            <Bread/>
           <div className="container_conent">
            <Outlet />
           </div>
          </div>
        
      </div>
      <footer>Respect | Copyright &copy; 2022 Author 廾匸</footer>
    </Layout>
    
  )
}




export default app